<?php
session_start();

// set PAGETYPE
$PAGETYPE='LIST';

// includes
	include_once "%connectinclude%";
	include_once "%class_subpath%CF_pdo_com.php";
	include_once "%class_subpath%CF_class_com.php";
	include_once "%fieldinclude%";

// define custom class
	class %class_name% extends %class_base_name% {
	
	
	
	}
// Use class instance
	$%list_table_instance% = new %class_name%($fieldspec, $testtable);
	//$%list_table_instance%->set_name('%cs_name%');
	
	$qry_list = "%str_query%";
		$array_list = get_array_query($qry_list);
	
	$%list_table_instance%->set_valuesarray($array_list);
	
	
		?>
	
<html>

<head>
	<title>%cs_name% list</title>
	<link rel="stylesheet" href="%class_subpath%commonctls.css" type="text/css">
</head>
<body>
%cs_name% Title Here
<br\>
<table name='%cs_name%' id='%cs_name%'>
<thead>
<tr class="title_row">
<?php print $%list_table_instance%->make_simple_heading(); ?>
</tr>
</thead>
<tbody>
<?php print $%list_table_instance%->maketable() ?>
</tbody>
</table>

</body>
</html>
